Digital data insertion apparatus and methods for use with compressed audio/video data

ABSTRACT

Methods and apparatus for inserting audience measurement data or interactive data into a compressed data bitstream are disclosed. An example apparatus disclosed herein includes a parser to access compressed audio data packets from a compressed data bitstream, a time shifter to time shift the compressed audio data packets in data frames of the compressed data bitstream to occupy locations of the data frames from which skip bytes are eliminated, and an inserter to insert at least one of audience measurement data or interactive data into auxiliary data fields of the data frames that increase in size due to the time shifting the compressed audio data.

RELATED APPLICATIONS

This patent is a continuation of U.S. patent application Ser. No. 14/822,608, entitled “Digital Data Insertion Apparatus and Methods for Use with Compressed Audio/Video Data,” filed Aug. 10, 2015, which is a continuation of U.S. patent application Ser. No. 11/237,251, entitled “Digital Data Insertion Apparatus and Methods for Use With Compressed Audio/Video Data,” filed Sep. 8, 2005, which is a continuation of PCT International Application Serial No. PCT/US2003/028037, entitled “Digital Data Insertion Apparatus and Methods for Use With Compressed Audio/Video Data,” filed Sep. 8, 2003, which claims the benefit of and priority to U.S. Provisional Patent Application Ser. No. 60/420,683, entitled “Digital Data Inserter for Television Audience Measurement,” filed on Oct. 23, 2002, all of which are hereby incorporated by reference in their entireties.

FIELD OF THE DISCLOSURE

The present disclosure relates generally to the delivery and distribution of compressed digital audio/video content such as digital broadcast systems and, more specifically, to digital data insertion apparatus and methods for use with compressed audio/video data.

BACKGROUND

Digital broadcast systems have undergone rapid development and deployment in recent years due, at least in part, to their ability to efficiently distribute large numbers of high-fidelity video and/or audio programs, as well as other digital services or programs, over a large geographic region. For example, in the case of satellite-based digital television and audio broadcast systems, little, if any, land-based infrastructure (e.g., ground stations, cable lines, etc.) is needed to provide services to subscribers on a world-wide basis. As a result, such satellite-based systems enable digital broadcasters and content providers to develop markets for their programs and/or services in remote and/or underdeveloped regions of the world in a cost-effective manner.

In general, regardless of whether a digital broadcast system uses one or more satellites, cable transmission lines, ground-based wireless transmission stations, or any combination thereof, such a system enables users to receive high-fidelity video and/or audio programs, as well as user-interactive features or tools such as, for example, pictographic program guides, grid-based guides, etc. that enable users to plan and carry out program consumption activities. Digital broadcast systems typically transmit one or more high-bandwidth signals, each of which is typically composed of a stream of data or data packets having a plurality of video, audio and/or other digital programs or content multiplexed therein. A number of well-known data compression techniques (e.g., audio/video content compression techniques), transmission protocols and the like are typically employed to generate and transmit a multi-program data stream or bitstream, which is commonly referred to as a transport stream. In particular, digital television programming is typically transmitted according to a standard promulgated by the Advanced Television Standards Committee (ATSC). The ATSC standard is a comprehensive standard relating to the conveyance of digital television signals. Under the ATSC standard, video information associated with a program is encoded and compressed according to the well-known Moving Pictures Expert Group-2 (MPEG-2) standard and audio information associated with the program is encoded and compressed according to the well-known AC-3 standard. As a result, an ATSC data stream or bit stream contains video information in the form of MPEG-2 packets and audio information in the form of AC-3 packets. However, other digital transmission protocols, data compression schemes and the like may be used instead.

In the case of freely available digital audio/video content or programming, users must have a television adapted to receive and process digital television signals (e.g., a high definition television). In the case of purchased digital audio/video content or programming, subscribers typically have a digital decoder unit which, in the case of a digital video or television system, is commonly referred to as a “set-top box,” that receives and processes multi-program data streams or transport streams and outputs video and audio signals to a television, video monitor, speakers, etc. for consumption by the user. In particular, the set-top box can, based on subscriber commands, extract data packets associated with a particular program or portion of audio/video content from a particular data stream or transport stream, decode those extracted data packets and send video and/or audio signals to a television, video monitor, digital radio, etc. for consumption by a user.

As is the case with analog content providers and broadcasters, digital content providers and broadcasters (e.g., digital television broadcasters, digital audio broadcasters, etc.) often desire to verify the transmission and/or to meter (i.e., monitor) the consumption of the audio/video content or programs and/or other services provided to subscribers. In this manner, a broadcaster can generate broadcast verification information and/or audience program consumption behavior or patterns. Audience consumption behavior or patterns may be used in conjunction with demographic information to develop ratings information, to improve targeted marketing or advertising campaigns, to improve the types of programs or audio/video content and/or services and the times at which those programs and/or services are delivered to consumers, to assess the value of a particular time slot and program for purposes of determining what advertisers should pay for usage of that time slot, etc.

With known analog television metering systems, viewing records or other viewing information is typically collected from a group of statistically selected households. As with digital broadcast systems, each of the statistically selected households has a data logging and processing unit (i.e., “home unit” or “site unit”). The site unit is usually coupled to a variety of attachments that provide inputs to the site unit or that receive outputs from the site unit. For example, an analog system may include a frequency detector to detect the local oscillator frequency of a television to identify the channel to which the television is currently tuned. Also, for example, a people counter, may be located in the viewing space of the television and may be in communication with the site unit, thereby enabling the site unit to actively or passively detect the identities of the persons currently viewing programs presented by the television.

The site unit usually processes its inputs, including the inputs from its attachments, to produce viewing records. The viewing records typically contain audio/video content or program identification information (i.e., information that can be used to identify a particular program or portion of audio/video content, such as channel information obtained from the frequency detector) and audience information. The audience information may include the numbers and/or identities of persons viewing a particular program, demographic information, etc. The viewing records may be generated on a periodic basis (i.e., at fixed time intervals) or may be generated in response to a change in an input such as, for example, a change in the identities or number of persons viewing the television, a change in the channel tuning information (i.e., a channel change), etc. With known analog systems, each viewing record typically contains channel information such as a station or channel number and a time (e.g., a date and time of day) at which the channel was viewed. Of course, viewing records may contain other information such as the identities of viewers present at the viewing time.

The site unit collects a quantity of viewing records and transmits collected viewing records, usually daily, to a collection site, such as central office or data processing facility, for further processing or analysis. The data processing facility receives viewing records from site units located in some or all of the statistically selected households and analyzes the viewing records to ascertain the viewing behaviors of a particular household or a particular group of households selected from all participating households. Additionally, the central data processing facility may generate viewing behavior statistics and other parameters indicative of viewing behavior associated with all of the participating households.

To generate viewing behavior information from viewing records, the central office or data processing facility compares reference data such as a list of programs (i.e., a schedule of television programming or program lineup) to the viewing records. In this manner, the data processing facility can determine which programs were viewed by matching the times and channel information in the viewing records to the programs associated with those same times and channels in the program schedule or lineup. Such a matching process can be carried out for each of the viewing records received by the data processing facility, thereby enabling the data processing facility to reconstruct what programs were watched by all participating households and the times at which the programs were watched.

However, known analog program metering systems (such as the television program verification and metering systems discussed above) are not suitable for use with digital broadcast systems. For example, the frequency detector attachment described above is not suitable for detecting digital video channel information because digital television systems use a data packet extraction process within a set-top box to retrieve audio/video data associated with a particular program, while the television tuner is typically allowed to remain on a single channel (e.g., typically channel 2 or 3). As a result, the local oscillator frequency of the television tuner is not indicative of (i.e., does not necessarily correspond to) the digital television channel currently being consumed. Thus, known analog program metering systems are not suitable for use with digital broadcast systems. More generally, known analog program metering systems cannot be used to detect the identity of broadcast digital programs, thereby preventing analog monitoring systems from being used to generate verification information and/or viewing records that can be processed to determine digital program consumption behavior.

To enable the tracking of viewing records, some digital broadcasters enable the identification of digital broadcast programs at home sites and one or more reference sites by inserting digital program identification information and/or other data in the video and/or audio bitstream(s). The inserted digital data is commonly referred to as audience measurement data, which may include signal identification codes (i.e., digital codes that are uniquely associated with respective audio/video content portions or programs), date information, time information, consumer identification information, etc. The insertion of audience measurement data at the distribution system headend or broadcast station is commonly referred to as an active audio/video content identification process because the system headend or broadcast station actively modifies (i.e., inserts data into) the transmitted bitstreams or transport streams.

By actively inserting data into audio/video bitstreams in this manner, digital broadcasters enable the identification of digital audio/video content and the viewing behavior of persons viewing digital broadcasts to be readily determined. In particular, the site units associated with individual homes sites may be configured to extract the inserted audio/video content identification codes from known portions or locations within a received bitstream and to use the extracted information to form, for example, viewing records. In turn, viewing records may be further analyzed at each of the home sites and/or at one or more collection or central processing sites to generate viewing behavior information, ratings data, etc.

Typically, known active data insertion techniques insert digital data within each of the video and/or audio signals that make up the one or more programs (i.e., video and/or audio programs) being transmitted by the broadcast station before the individual video and/or audio signals are compressed and multiplexed to form a single multi-program bitstream or transport stream. However, because the digital data are inserted in an uncompressed domain (i.e., within the individual uncompressed audio/video signals), multiple digital data insertion devices (e.g., one for each uncompressed program bitstream) are typically required. This requirement for multiple digital information insertion devices is undesirable because it increases the complexity and operational costs associated with headend or broadcast stations.

Another difficulty that results from inserting digital data into individual uncompressed program signals is that subsequent compression operations (e.g., compression encoding) may corrupt and/or eliminate some or all of the inserted data. As is known, signal compression techniques usually provide a substantial reduction in the quantity of data needed to reproduce a video image and/or an audio signal, but do so at the expense (i.e., the loss) of at least some data or information. Thus, if compression operations corrupt the inserted digital data, the home site and/or a central data processing or collection facility may not be able to accurately identify audio/video content.

Still another difficulty that results from inserting digital codes or audience measurement data into individual uncompressed audio/video content signals is that the association between the inserted data or information and the program into which the data is inserted is limited. In particular, the inserted data may be associated with only the video portion of a program or only the audio portion of that same program, but not both the video and audio portions. This lack of association is further complicated by the fact that a digital broadcast station may redefine the position (e.g., the sub-channel or minor channel number) of an uncompressed video and/or audio program within the compressed domain, or may delete one or more video and/or audio programs from a program lineup.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an example system within which the data insertion apparatus and methods described herein may be used to identify digital audio/video content or programs and to generate verification information and/or viewing behavior information based on the identified audio/video content or programs.

FIG. 2 is a block diagram of an example known system that may be used by the digital broadcast station of FIG. 1 to insert audience measurement data in one or more uncompressed audio/video content or program bitstreams.

FIG. 3 is a block diagram of an example system that may be used within the digital broadcast station of FIG. 1 to insert audience measurement data in a compressed audio/video content or program bitstream.

FIG. 4 is a more detailed block diagram that depicts an example manner in which the data inserter shown in FIG. 3 may be implemented.

FIG. 5 is a more detailed block diagram depicting an example manner in which the data insertion unit of FIG. 4 may be implemented.

FIG. 6 is a block diagram of an example processor-based system that executes software or instructions stored on a machine readable medium to implement the example data inserter shown in FIG. 3.

FIG. 7 is a flow diagram of an example manner in which the processor system shown in FIG. 6 may be configured to perform the functions of the example data inserter shown in FIG. 3.

FIG. 8 is a more detailed flow diagram of an example manner in which the data insertion block of FIG. 7 may be implemented.

FIG. 9 is a flow diagram of an example method by which the system shown in FIG. 11 may generate viewing behavior and ratings information using data inserted by the example data inserter of FIG. 3.

FIG. 10 is a block diagram of another manner in which a data inserter may be configured to insert audience measurement data in a compressed audio/video content or program bitstream.

DETAILED DESCRIPTION

FIG. 1 is a block diagram of an example system 100 within which the data insertion apparatus and methods described in greater detail below may be used to identify broadcast digital audio/video content or programs and to generate viewing behavior and ratings information based on the identified audio/video content. The system 100 includes a digital broadcast station 102 that receives digital video and/or audio content from a plurality of digital content providers 104 and 106. The digital content providers 104 and 106 may provide a variety of audio/video content such as, for example, television programs, advertisements, audio (e.g., radio) programs, still image information (e.g., web pages), etc. in known manners to the digital broadcast station 102. The digital broadcast station 102 transmits one or more signals containing digital audio/video content to a reference site 108 and at least one consumption site 110 via communication paths or links 112 and 114. The communication paths or links 112 and 114 may include any combination of hardwired or wireless links such as, for example, satellite links, wireless land-based links, cable links, etc. The signals conveyed via the links 112 and 114 may contain multi-program data streams or bitstreams, which are often referred to as transport streams and commonly employed with existing digital television transmission systems.

The reference site 108 and the consumption site 110 receive and process the digital signals or digital audio/video content provided by the digital broadcast station 102 using the audio/video content identification apparatus and methods described herein. More specifically, the reference site 108 includes a plurality of decoders (e.g., set-top boxes or the like) 116, 118 and 120 that demodulate, demultiplex and decode audio, video and/or other data packets received from the digital broadcast station 102. In one example, each of the decoders 116, 118 and 120 provides audio and/or video data packets associated with a different program, which is currently being broadcast, to a reference site processor 122. In other words, the decoder 116 may provide data packets associated with a first program while the decoders 118 and 120 provide data packets associated with respective second and third programs. The reference site processor 122 is configured to control and/or has information indicating to which channel, sub-channel, etc. each of the decoders 116, 118 and 120 is currently tuned.

The reference site processor 122 may include apparatus and methods for extracting the data inserted by the digital broadcast station 102 into the broadcast audio/video content (e.g., one or more transport streams). In particular, the reference site processor 122 may be configured to extract digital codes and/or other data or information inserted by the digital broadcast station 102 from known locations within data packets and/or data frames using the data insertion apparatus and methods disclosed herein. The reference site processor 122 may send the extracted codes and/or other digital information to a central processing unit 124 that, in turn, may process the extracted codes and/or other digital information to generate, for example, broadcast verification information, program lineup information, or any other desired information relating to the audio/video content broadcast by the station 102.

The consumption site 110 could be, for example, a statistically selected home or residence, a business location, a mobile device (e.g., a portable computer, cellular phone or personal data assistant, etc.) or any other site or device enabling the consumption of video and/or audio content or programs. For purposes of simplifying the discussion, FIG. 1 depicts a single system or consumption site 110. However, a plurality of consumption sites may be configured in manners similar or identical to that of the example consumption site 110.

The consumption site 110 includes an output unit 128 such as, for example, a video display, television, speaker, etc. The consumption site 110 also includes a decoder (e.g., a set-top box) 130, which may be similar or identical to the decoders 116-120. As shown in FIG. 1, the decoder 130 may be serially interposed between the broadcast signal 114 and the output unit 128 and provides audio and/or video signals 134 to the output unit 128 that are used to present the program currently selected for consumption. For example, in the case where the broadcast signal 114 is a digital satellite or cable television transmission, the decoder 130 demodulates extracts video and/or audio data packets associated with a desired channel and/or program. The extracted data packets are processed to form the signal 134 that can be presented (e.g., displayed) by the output unit 128. For example, in the case where the output unit 128 is a television, the signal 134 may be a composite video signal, a super-video signal, a red, green, blue (RGB) signal, or any other displayable video signal applied to the appropriate input connections of the output unit 128.

In addition, the decoder 130 also provides signals 136 containing digital audio/video content data to the site unit 132. The audio/video content data may, for example, be digital audio signals provided using the well-known Sony Corporation and Philips Corporation Digital Interface Format (S/PDIF), or any other desired format that provides data packets associated with digital broadcasts. In that case, the audio/video content data is compressed digital audio data associated with audio/video content to which the decoder is currently tuned and which is being consumed via the output unit 128.

In addition to its signal processing functions, the decoder 130 may also perform access control functions such as, for example, determining what programs are available for consumption by a user of the system 100 based on subscription status or subscription information associated with the system 100, generating displayable program guide information, etc.

The site unit 132 processes the signals 136 received from the decoder 130 to extract the inserted data (e.g., audience measurement data) therefrom. The site unit 132 may then convey the extracted digital data (e.g., audience measurement data) to the central processing unit 124. The central processing unit 124 may process the extracted digital data to determine what audio/video content (e.g., channels and/or programs) was consumed, the times at which the audio/video content was consumed, and/or the identities of those who consumed the audio/video content. In this manner, the central processing unit 124 may generate viewing behavior information or statistics, ratings information or any other desired information relating to the consumption of audio/video content at the consumption site 110 or at one or more other consumption sites (none of which are shown).

While the output unit 128, the decoder 130 and the site unit 132 are depicted in FIG. 1 as separate blocks, the functions performed by these blocks may be combined or integrated in any desired manner. For example, in the case where the consumption site 110 is a portable device (e.g., a personal data assistant having a wireless communication interface), the functions performed by the blocks 128, 130 and 132 may be integrated within the portable device. Alternatively, the functions performed by the output unit 128 and the decoder 130 may be integrated within the portable device, which is then periodically or continuously communicatively coupled to the site unit 132 to download its extracted data to the site unit 132. In that case, the site unit 132 may be implemented as a base unit in which the portable device is periodically disposed to perform download operations.

FIG. 2 is a block diagram of an example known system 200 that may be used by the digital broadcast station 102 of FIG. 1 to insert audience measurement data into one or more uncompressed audio/video content or program bitstreams. The system includes a plurality of data inserters 202, 204 and 206, each of which is configured to insert data into respective uncompressed audio/video content data streams 208, 210 and 212. Each of the streams 208, 210 and 212 contains a single audio/video program, which may be provided by a digital content provider similar or identical to the digital content providers 104 and 106 shown in FIG. 1 and/or which may be provided a local source such as, for example, a digital video recorder, a video cassette recorder, or any other suitable digital media delivery devices.

The data inserters 202, 204 and 206 may be implemented using known data insertion devices such as vertical blanking inserters, watermarking encoders and closed caption encoders. The outputs of the data inserters 202, 204 and 206 are coupled to respective encoders 214, 216 and 218. The encoders 214, 216 and 218 are compression encoders that compress each of the individual audio/video content bitstreams (into which data has been inserted) using a known audio/video compression scheme such as for example, a compression scheme compliant with the AC-3 and/or MPEG standards.

The compressed audio/video content bitstreams output by the encoders 214, 216 and 218 are multiplexed to form a single bitstream or transport stream by a multiplexer 220. The multiplexer 220 may multiplex the compressed bitstreams received from the encoders 214, 216 and 218 using a multiplexing scheme compliant with, for example, the ATSC and/or Digital Video Broadcast (DVB) standards. The multiplexer 220 provides its multi-program bitstream or transport stream to a modulator 222, which modulates the transport stream using known techniques, and a transmitter 224, which uses known techniques to transmit or broadcast the transport stream via, for example, the communication links 112 and 114 shown in FIG. 1.

The system 200 may also include a Program and System Information Protocol (PSIP) generator 226, which uses well known techniques to generate a collection of hierarchically interlinked tables that contain information relating to the location of channels and programs, program scheduling (e.g., program lineup information), information facilitating the construction of program guides, as well as unique identifiers such as transport stream identifiers (TSIDs), each of which uniquely corresponds to a broadcaster. The PSIP generator 226 provides the PSIP information to the multiplexer 220, which multiplexes the PSIP information into the transport stream.

In addition, the system 200 may include a data generator 228, which may provide interactive program information to the multiplexer 220, which multiplexes the interactive program information into the transport stream. For example, the data generator 228 may generate program information that may be used at a consumption site (e.g., the consumption site 110 shown in FIG. 1) to generate a program grid-guide and/or to provide other user interface functionality at the consumption site.

While the known system 200 of FIG. 1 enables audience measurement data to be inserted into individual audio/video program bitstreams, the inserted data may be corrupted or lost during the encoding or compression process performed by each of the encoders 214, 216 and 218. In addition, because the data inserters 202, 204 and 206 insert audience measurement data without reference to the information being generated by the PSIP generator 226, changes in program lineup (e.g., reassignment of a program by a station to a different sub-channel, removal of a program, etc.) are not considered during the data insertion process. As a result, the inserted audience measurement data extracted at a consumption site may not reflect the programs or audio/video content actually consumed. To address this issue, two sets of metadata would have to be maintained to generate ratings information. In particular, one set of metadata associated with the inserted data and another set of metadata generated by the PSIP device (e.g., station or broadcaster metadata that is used for program identification). In addition, a mapping between the two sets of metadata would be required so that ratings information could ultimately be provided in terms the metadata generated by the PSIP device. Still further, the system 200 requires a separate data inserter for each program bitstream and, thus, may become overly complex in cases where the broadcast station (e.g., the broadcast station 102 of FIG. 1) multiplexes a large number of programs to form its transport stream or if a new channel is introduced for transmission.

FIG. 3 is a block diagram of an example system 300 that may be used within the digital broadcast station 102 of FIG. 1 to insert audience measurement data in a compressed audio/video content or program bitstream. Many of the functional blocks shown in the system 300 of FIG. 3 are similar or identical to those shown and described in connection with FIG. 2. However, the system 300 interposes a data inserter 302 between the multiplexer 220 and the modulator 222, thereby eliminating the need for the plurality of data inserters 202, 204 and 206 (FIG. 2). In contrast to the data inserters 202, 204 and 206, the data inserter 302 operates in a compressed domain. In particular, the data inserter 302 inserts data (e.g., audience measurement data and/or other data) in a multi-program bitstream or transport stream that contains compressed audio/video data, PSIP information generated by the PSIP generator 226 and/or other data generated by the data generator 228.

As described in greater detail below, the data inserter 302 operates on a bitstream containing frames of data packets that are formatted using a predefined compression and transmission protocol. The data inserter 302 temporally packs or time shifts data within data frames to expand (i.e., increase the size of) a predetermined data area or location within one or more of the data frames and inserts audience measurement data within the one or more expanded predetermined data areas or locations. The inserted audience measurement data may then be extracted by one or more decoders at one or more consumption sites and reference sites and used to generate consumption records, verification information, program lineup information, viewing behavior information etc.

Because the data inserter 302 operates in a compressed domain (i.e., it operates on bitstreams containing compressed data), the audience measurement data that it inserts cannot be corrupted or lost as a result of compression operations, as is the case with known systems (e.g., the known system 200 shown and described in connection with FIG. 2). In addition, because the data inserter 302 has access to the information generated by the PSIP generator 226, the data inserter 302 always inserts audience measurement data that is consistent with the program lineup information contained with the PSIP tables provided by the PSIP generator 226. In this manner, the system 300 maintains two metadata systems (i.e., the metadata produced by the PSIP device and the metadata produced as a result of the data insertion process) that contain the same information. As a result, the system 300 provides audience measurement data that is more reliable than that provided by the known system 200 of FIG. 2, particularly in cases where the broadcast station 102 (FIG. 1) makes frequent changes to its program lineup.

The system 300 may also include a data generator 304 that generates non-audience measurement data such as, for example, interactive data (e.g., uniform resource locators (URLs), Internet protocol (IP) data, etc.), private or proprietary data, or any other non-audience measurement data. In one example, the data generator 304 may generate data using the format shown below.

-   Time Code: XX -   Minor Channel/Maj or Channel: XX/YY -   Data: http://xx.xx.xxx

The data generator 304 may be separate from the data inserter 302 as shown in FIG. 3, in which case the data generator 304 may be communicatively coupled to the data inserter 302 via a communication link 306 such as for example, a serial interface, an Ethernet compatible link, or any other suitable communication link. Alternatively, the data generator 304 may be integral with the data inserter 302. The data generator 304 may also be coupled to a user interface 306, which may include a keyboard, monitor, mouse, etc. that enable an operator to enter data to be inserted via the data generator 304 and the data inserter 302.

Now turning to FIG. 4, a more detailed block diagram depicts an example manner in which the data inserter 302 shown in FIG. 3 may be implemented. The example data inserter 302 includes a demultiplexer 400 that receives a multi-program bitstream (e.g., an ATSC compliant data stream) from the multiplexer 220 (FIG. 3). The demultiplexer 400 separates the multi-program bitstream into a plurality of bitstreams, including bitstreams containing compressed data associated with individual audio/video programs, a bitstream containing PSIP information, a bitstream containing data generated by the data generator 228, etc.

A program information extractor 402 receives the individual bitstreams output by the demultiplexer 400 and extracts program information therefrom. In particular, the program information extractor 402 may extract a transport stream identifier, which uniquely corresponds to the broadcasting source (e.g., the station 102 of FIG. 1) from which the multi-program bitstream was transmitted, major and minor channel information for each of the bitstreams corresponding to an audio/video program, date and time values for each of the audio/video program bitstreams, as well as any other desired program information.

The audience measurement data generator 404 uses the extracted program information provided by the program information extractor 402 to generate audience measurement data for each of the audio/video program bitstreams contained within the multi-program bitstream received by the demultiplexer 400. The audience measurement data generator 404 may generate audience measurement data using the example syntax set forth in Table 1 below.

TABLE 1 Data Field Length in bits AudienceMeasurementDataID 8 PayloadStartIndex 4 LenIndex 4 Payload Variable

The data field AudienceMeasurementDataID contains a unique identifier that may be used by decoders (e.g., the decoders 116, 118, 120, and 130) to identify audience measurement data and/or the audience measurement entity (e.g., a company) that has inserted the data. Such unique identifiers may be known in advance to facilitate the identification process. The data field PayloadStartlndex holds a value indicating the order in which audience measurement information is stored in the payload. One example manner in which the values of PayloadStartIndex may correspond to payload data organization is set forth in Table 2 below.

TABLE 2 PayloadStartIndex Payload Data Starts With 0 TransportID [bit 15-0] 1 Major channel [bit 15-0] 2 Minor channel [bit 15-0] 3 Time [bit 31-16] 4 Time [bit 15-0]

The data field LenIndex holds a value that indicates the length of the data field Payload. One example manner in which the data field LenIndex may define the length of the data field Payload in set forth in Table 3 below.

TABLE 3 LenIndex Payload Length in Bytes 0 2 1 4 2 6 3 8 4 10

Using the above example data field semantics set forth in Tables 1 through 3, if PayloadStartIndex=3 and LenIndex=3, then the payload contains eight bytes in the order set forth in Table 4 below. Thus, the LenIndex data field enables modulation of the length of the inserted audience measurement data as a function of the number of bytes available in the inserted data location or placeholder.

TABLE 4 Payload Data No. of Bytes Time [bit 31-16] 2 Time [bit 15-0] 2 Transport ID [bit 15-0] 2 Major Channel [bit 15-0] 2

Of course, Tables 1 through 4 above are merely one example manner in which the audience measurement data generator 404 may generate audience measurement data. Other data types and formats may be used to form audience measurement data for any desired application. For example, the Transport ID may be replaced by a proprietary identifier that is used by, for example, an audience measurement entity (e.g., a company) to identify a channel with a particular major/minor channel number. Alternatively, the Transport ID may be replaced with a public content identifier such as, for example, an AD-ID or V-ISAN, which are well known content identification schemes.

A data insertion unit 406 inserts the audience measurement data provided by the audience measurement data generator 404 in the individual bitstreams, which correspond to the individual audio/video programs provided by the demultiplexer 400. More specifically, the data insertion unit 406 packs or time shifts compressed data packets within the data frames of each audio/video program bitstream to expand a predetermined portion or data area of one or more data frames within those compressed data bitstreams. Audience measurement data pertaining to each of those audio/video bitstreams is inserted into one or more of the expanded predetermined portions or data areas.

In addition to receiving audience measurement data to insert, the data insertion unit 406 may also receive other data such as, for example, non-audience measurement data to insert from the data generator 304 (FIG. 3). As described above, such non-audience measurement data may include interactive data such, for example URLs, applets, scripts, etc. Example syntax for such non-audience measurement data is set forth below in Tables 5 and 6.

TABLE 5 Data Field Value/Length Interactive Data Identifier 0xBB H Data Length XX bytes Data Type YY Data ZZ

TABLE 6 Data Type Value Data Type Description 0 URL 1 Scripts 2 Applets

Audio/video bitstreams having data inserted therein by the data insertion unit 406 are provided to the program information modifier 408, which may, if needed, modify the program information associated with one or more of those bitstreams. In some cases, depending on where in the bitstream the data insertion unit 406 inserts the audience measurement data or other data, the program information associated with the bitstream into which the data has been inserted may have to be updated. For example, in the case where the program information includes PSIP and/or PSI table information, it may be necessary to modify the information the PSIP and/or PSI table information to reflect changes to reflect that private data has been inserted in the bitstream.

After being processed by the program information modifier 408, a multiplexer 410 receives the individual bitstreams, including audio/video bitstreams into which audience measurement data and/or other data has been inserted by the data insertion unit 406. The multiplexer 410 also receives program information, which may have been modified via the program information modifier 408. For example, the multiplexer 410 may receive bitstreams containing modified PSIP information. Still other bitstreams may be received by the multiplexer 410 such as, for example, a bitstream containing other programs or data. In any event, the multiplexer 410 multiplexes the plurality of bitstreams that it receives into a single multi-program bitstream or transport stream that may have substantially the same format (e.g., that is compliant with the same protocol) as the transport stream received by the demultiplexer 400. However, the multi-program bitstream or transport stream output by the multiplexer 410 contains data inserted by the data insertion unit 406 and may contain program information modified by the program information modifier 408.

FIG. 5 is a more detailed block diagram depicting an example manner in which the data insertion unit 406 may be implemented. The data insertion unit 406 may include a parser 500 that parses out or extracts a particular type or types of data packets to be passed to a time shifter 502. In one example, where data insertion unit 406 is implemented within the digital broadcast station 102 of FIG. 1 and where the digital broadcast station 102 is configured to transmit ATSC compliant digital television signals, the parser 500 is configured to extract compressed audio data packets compliant with the AC-3 standard. In that example, the time shifter 502 is configured to time shift the compressed audio data packets within AC-3 data frames to reduce the number of or to eliminate skip bytes within the AC-3 data frames.

As is well known, compressed audio bitstreams compliant with the AC-3 standard typically include frames having one or more skip bytes, which are formed during the encoding process to maintain a fixed frame size for each AC-3 frame and which typically do not contain any useful information. In addition, AC-3 data frames contain an auxiliary data field, which may be used to transmit information other than compressed audio data and/or may be used to fine tune the number of bits contained in a frame. However, in practice, the auxiliary data fields within AC-3 frames typically include few, if any, bytes.

As noted above, the time shifter 502 reduces the number of or eliminates skip bytes within AC-3 frames and shifts audio data within the AC-3 frames to occupy the eliminated skip bytes. The result of the shifting is a packing of the compressed audio data toward one end of the frames to occupy portions of the frames previously occupied by skip bytes, which effectively temporally shifts the audio data. Another result of this shifting is an increase in the number of bits available for the auxiliary data fields.

An auxiliary data field inserter 504 inserts the audience measurement data generated by the audience measurement data generator 404 into the newly expanded auxiliary data fields of the AC-3 frames. The inserted audience measurement data may be formatted as described above in connection with Tables 1 through 4 above, or in any other desired manner. Alternatively or additionally, non-audience measurement data provided by the data generator 304 (FIG. 3) may be inserted in the auxiliary data fields of the AC-3 frames by the auxiliary data field inserter 504.

After the audience measurement data and/or other data has been inserted in the newly expanded auxiliary data field of the AC-3 frames, an error checking value generator 506 generates new error checking values for each AC-3 frame. In this example, the error checking value generator 506 is configured to re-compute the cyclical redundancy check (CRC) values, which represent within each AC-3 frame. Re-computation of the CRC values for the AC-3 frames is necessary because elimination of skip bytes, shifting compressed audio data and inserting data in the AC-3 frame auxiliary data fields renders the original CRC values meaningless (i.e., the original CRCs are no longer representative of the data contained in the frames).

In general, the example data inserter 302 (FIG. 3) and data generator 304 (FIG. 3) may be implemented using primarily hardware, primarily software or any desired combination of hardware and software. In the case of a primarily software-based implementation, a computer system or other processor system that executes machine readable instructions or programs may be used to implement the apparatus and methods described herein. The machine readable instructions or programs may be embodied in software stored on a tangible medium such as a CD-ROM, a floppy disk, a hard drive, a digital versatile disk (DVD), or a memory.

FIG. 6 is a block diagram of an example processor-based system 600 that executes software or instructions stored on a machine readable medium to implement the example data inserter 302 (FIG. 3) and/or the example data generator 304 (FIG. 3). The example processor-based system 600 includes a processor 602, which may be any suitable microprocessor such as, for example, a processor from the Intel Pentium® family of microprocessors. The processor 602 is communicatively coupled to a non-volatile memory 604 and a volatile memory 606. The non-volatile memory 604 may be implemented using, for example, electrically erasable programmable read only memory (EEPROM), read only memory (ROM), etc. The volatile memory 606 may be implemented using, for example, static random access memory (SRAM), dynamic random access memory (DRAM), etc. The processor 602 is also coupled to a mass storage device 608, which may be implemented using, for example, a disk drive that stores digital information using a magnetic or optical media.

The processor 602 retrieves and executes machine readable instructions or software programs that are stored on one or more of the memories 604 and 606 and/or the mass storage device 608 to perform the functions of the data inserter 302 and/or data generator 304 shown in FIG. 3.

The processor 602 is also in communication with an input/output (I/O) unit 610, that enables the system 600 to communicate with, for example, the user interface 308 (FIG. 3). The I/O unit 610 may include circuitry for performing network communication functions (e.g., Ethernet communication functions), phone line communication functions (e.g., modem functions), peripheral device communication functions (e.g., universal serial bus communications, parallel port communications, etc.) to enable the system 600 to communicate with one or more input devices such as, for example, a mouse, keyboard, etc. and/or one or more output devices such as, for example, a video display, a printer, etc.

FIG. 7 is a flow diagram of an example manner in which the processor system 600 shown in FIG. 6 may be configured to perform the functions of the data inserter 302 shown in FIG. 3. Initially, the multi-program bitstream or transport stream received from the multiplexer 220 (FIG. 3) is demultiplexed into its constituent bitstreams (block 700). In particular, the transport stream may be separated into a plurality of audio/video program bitstreams, a bitstream containing PSIP information, as well as other bitstreams containing other data and/or program information. Program information such as, for example, transport stream identifiers, major and minor channel numbers, date and time value, etc. are then extracted from the constituent bitstreams (block 702). The extracted program information is then used to generate audience measurement data (block 704), which is subsequently inserted in predetermined portions or data fields within the audio/video bitstreams (block 706). The program information may then be modified, if necessary, (block 708) and the constituent bitstreams, some of which have been modified via insertion of audience measurement data and/or modification of program information, are multiplexed to form a single transport stream (block 710).

FIG. 8 is a more detailed flow diagram of an example manner in which the data insertion block 706 of FIG. 7 may be implemented. In particular, the audio/video bitstreams are parsed to extract certain data packets into which data will be inserted. In one example, as described above, audio data packets compliant with the AC-3 standard are extracted. The audio data within the AC-3 data frames is time shifted to eliminate skip bytes within the frames (block 802), thereby increasing the number of bits available to the auxiliary data field within one or more of the data frames. Audience measurement data, as well as other data, may then be inserted in the newly expanded auxiliary data field (block 804). The CRC for each AC-3 frame is then re-computed (block 806).

FIG. 9 is a flow diagram of an example method by which the system 100 shown in FIG. 1 may generate viewing behavior and ratings information using data inserted by the data inserter 302 of FIG. 3. Initially, the digital broadcast station 102 (FIG. 1) inserts audience measurement data into its broadcast transport stream using, for example, the data inserter apparatus and methods described herein (block 900). One or more of the decoders 116, 118 and 120 (FIG. 1) together with the reference site processor 122 (FIG. 1) extract the audience measurement data from known locations within the transmitted bitstreams (block 902). For example, in the case where the data inserted within the compressed audio bitstreams compliant with the AC-3, the known locations may be the auxiliary data fields of the AC-3 frames as described above. The reference site processor 122 (FIG. 1) uses the extracted audience measurement data to generate a program lineup (block 904). In particular, because the reference site 108 (FIG. 1) can use its multiple decoders 116, 118 and 120 to receive and process multiple audio/video bitstreams simultaneously, the reference site processor 122 (FIG. 1) can simultaneously detect and identify, using the inserted audience measurement data, a plurality of broadcast programs available for consumption. The reference site 122 (FIG. 1) may then transmit the generated program lineup information to the collection site (block 906), which in this case is the central processing facility 124 (FIG. 1).

At the consumption site 110 (FIG. 1), the site unit 132 is configured to extract the inserted audience measurement data from the signal 136 (block 908), which, in one example, is an S/PDIF signal containing compressed audio data compliant with the AC-3 standard. In that case, the inserted audience measurement data is located in the auxiliary data fields of the AC-3 data frames and the site unit 132 (FIG. 1) is configured to identify the auxiliary data fields and to extract information therefrom. The site unit 132 (FIG. 1) is also coupled to a people meter and/or other devices that enable the site unit 132 (FIG. 1) to generate demographic information (block 910). For example, the site unit 132 (FIG. 1) may be configured to detect the identities of the person or persons currently consuming an audio/video program via the output unit 128. In any event, the site unit 132 (FIG. 1) transmits the viewing behavior information (i.e., the audience measurement data, demographic information, etc.) to the collection site (block 912) (i.e., the central processing facility 124 (FIG. 1)).

The collection site or central processing facility 124 (FIG. 1) then compares the viewing behavior information received from the consumption site 110 (FIG. 1) to the program lineup information received from the reference site 108 (FIG. 1) (block 914). By matching the viewing behavior information to portions of the program lineup information, the collection site or central processing facility 124 (FIG. 1) may determine the time and manner in which audio/video programs were consumed at the consumption site 110 (FIG. 1) and/or other consumption sites (not shown) and by whom those audio/video programs were consumed. The matching information generated at block 914 may then be used by the central processing facility 124 (FIG. 1) to generate ratings information (block 916).

In cases where the data generator 304 (FIG. 3) has provided non-audience measurement data (e.g., interactive data) to the data inserter 302 (FIG. 3), the decoder 130 (FIG. 3) and/or site unit 132 (FIG. 3) may extract from the auxiliary data fields of the AC-3 frames and process that non-audience measurement data. For example, the site unit 132 (FIG. 1) may include or be coupled to a web server (not shown) that enables activation of URLs and/or other interactive data. In some cases, the non-audience measurement data may be appropriately transcoded and conveyed via one or more wireless communication links to a portable devices such as, for example, a cellular phone, personal data assistant and/or a computer.

Although the example data inserter 302 is depicted in FIG. 3 as being serially interposed between the multiplexer 220 and the modulator 222, other configurations may be used instead to achieve results identical or similar to those described above. FIG. 10 is a block diagram of another manner in which a data inserter 1000 may be configured to insert audience measurement data in a compressed audio/video content or program bitstream. As depicted in FIG. 10, the data inserter 1000 is communicatively coupled to the PSIP generator 226, one or more of the encoders 208, 210 and 212 and the multiplexer 220. In this configuration, the data inserter 1000 does not require a demultiplexer (e.g., the demultiplexer 400 of FIG. 4) or a multiplexer (e.g. the multiplexer 410 of FIG. 4). Still other configurations are possible. For example, the data inserter 1000 may be integrated with the PSIP generator 226 and/or one of more of the encoders 208-212.

While the data insertion apparatus and methods described herein have been described with reference to specific examples, the apparatus and methods may be implemented in different manners to achieve identical or similar results. More specifically, although example methods and apparatus may time shift compressed audio data within AC-C compliant data frames to expand the number of bits available for AC-3 frame auxiliary data fields, into which data may be inserted, other insertion techniques may be used instead. For example, audience measurement data and/or other data may be inserted in private descriptors such as, for example, the ATSC private descriptor, the MPEG-2 metadata descriptor and/or the MPEG-2 private descriptor in Program System Information (PSI) tables (e.g., the program loop that is present in a program map table (PMT) section). Alternatively or additionally, the audience measurement data and/or other data may be inserted in Event Information Tables (EITs), A-90 data packets and/or null or padding packets to achieve identical or similar results.

Although certain methods, apparatus and articles of manufacture have been described herein, the scope of coverage of this patent is not limited thereto. To the contrary, this patent covers all embodiments including apparatus, methods and articles of manufacture fairly falling within the scope of the appended claims either literally or under the doctrine of equivalents. 

What is claimed is:
 1. An apparatus, comprising: memory including computer readable instructions; and processor circuitry to execute the computer readable instructions stored in the memory, the processor circuitry to: access compressed audio data packets from a compressed data bitstream; shift the compressed audio data packets in data frames of the compressed data bitstream to enlarge auxiliary data fields of the data frames, the compressed audio data packets to be shifted to occupy locations of the data frames from which skip bytes are eliminated; and insert at least one of audience measurement data or interactive data into the auxiliary data fields of the data frames.
 2. The apparatus as defined in claim 1, wherein the processor circuitry is further to re-compute an error checking value after the at least one of the audience measurement data or the interactive data has been inserted into the auxiliary data fields.
 3. The apparatus as defined in claim 2, wherein the error checking value is a cyclical redundancy check value.
 4. The apparatus as defined in claim 1, wherein the compressed audio data packets are compliant with an AC-3 format.
 5. The apparatus as defined in claim 1, wherein the interactive data includes at least one of a uniform resource locator, internet protocol data, an applet, or a script.
 6. The apparatus as defined in claim 1, wherein the processor circuitry is further to generate the audience measurement data from extracted program information, the extracted program information included in the compressed data bitstream.
 7. The apparatus as defined in claim 1, wherein the processor circuitry is further to update program information associated with the compressed data bitstream after the at least one of the audience measurement data or the interactive data has been inserted into the auxiliary data fields.
 8. A method comprising: accessing, by executing an instruction with a processor, compressed audio data packets from a compressed data bitstream; shifting, by executing an instruction with the processor, the compressed audio data packets in data frames of the compressed data bitstream to enlarge auxiliary data fields of the data frames, the compressed audio data packets to be shifted to occupy locations of the data frames from which skip bytes are eliminated; and inserting, by executing an instruction with the processor, at least one of audience measurement data or interactive data into the auxiliary data fields of the data frames.
 9. The method as defined in claim 8, further including re-computing an error checking value after the at least one of the audience measurement data or the interactive data has been inserted into the auxiliary data fields.
 10. The method as defined in claim 9, wherein the error checking value is a cyclical redundancy check value.
 11. The method as defined in claim 8, wherein the compressed audio data packets are compliant with an AC-3 format.
 12. The method as defined in claim 8, wherein the interactive data includes at least one of a uniform resource locator, internet protocol data, an applet, or a script.
 13. The method as defined in claim 8, further including generating the audience measurement data from extracted program information, the extracted program information included in the compressed data bitstream.
 14. The method as defined in claim 8, further including updating program information associated with the compressed data bitstream after the at least one of the audience measurement or the interactive data has been inserted into the auxiliary data fields.
 15. A machine readable storage device or storage disk comprising instructions that, when executed, cause a machine to at least: access compressed audio data packets from a compressed data bitstream; shift the compressed audio data packets in data frames of the compressed data bitstream to enlarge auxiliary data fields of the data frames, the compressed audio data packets to be shifted to occupy locations of the data frames from which skip bytes are eliminated; and insert at least one of audience measurement data or interactive data into the auxiliary data fields of the data frames.
 16. The machine readable storage device or storage disk as defined in claim 15, wherein the instructions, when executed, further cause the machine to re-compute an error checking value after the at least one of the audience measurement data or the interactive data has been inserted into the auxiliary data fields.
 17. The machine readable storage device or storage disk as defined in claim 16, wherein the error checking value is a cyclical redundancy check value.
 18. The machine readable storage device or storage disk as defined in claim 15, wherein the compressed audio data packets are compliant with an AC-3 format.
 19. The machine readable storage device or storage disk as defined in claim 15, wherein the interactive data includes at least one of a uniform resource locator, internet protocol data, an applet, or a script.
 20. The machine readable storage device or storage disk as defined in claim 15, wherein the instructions, when executed, further cause the machine to update program information associated with the compressed data bitstream after the at least one of the audience measurement or the interactive data has been inserted into the auxiliary data fields. 